<?php if (!defined('THINK_PATH')) exit();?><link rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/plugin/carousel/owl.carousel.css" >
<link rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/plugin/carousel/owl.theme.css" >
<link rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/css/picCarousel.css" >
<div class="jianCeBox">
  <div class="cebaoGao">
    <h2>车辆综合评级</h2>
    <div class="yizhang">
      <h3><?php echo ($report["header"]["model_show"]); ?></h3>
         <em>车辆编号：<?php echo ($report["header"]["sno"]); ?></em>
         <em>报告编号：<?php echo ($report["header"]["car_no"]); ?></em>
         <em>检测时间：<?php echo ($report["header"]["check_date"]); ?>&nbsp;</em>
         <em>评估师：<?php echo ($report["header"]["checker"]); ?></em>
         <dl class="clearfix">
        <dt><?php echo ($report["header"]["composite_state"]); echo ($report["header"]["acc_level"]); ?></dt>
        <dd>
          <?php echo ($report["header"]["composite_state_desc"]); ?>
          <?php echo ($report["header"]["acc_level_desc"]); ?>
          <?php if(empty($report["header"]["history_state"])): ?>无火烧，无水泡。<?php else: echo ($report["header"]["history_state"]); ?>。<?php endif; ?>
        </dd>
      </dl>
    </div>
    <div class="jianBen">
        <h4>基本信息</h4>
        <table>
            <tbody>
                    <?php $i= 0 ; $count = count($report['base_info']); $remainder_colums = $count % 3; ?>
                    <?php $number = (3 - $remainder_colums); ?>
                    <?php foreach($report['base_info'] as $info):?>
                    <?php $a = $i % 3;?>
                    <?php if($a == 0): if($i != 0): ?></tr><tr>
                        <?php else: ?>
                            <tr><?php endif; ?>
                            <td><?php echo ($info["label"]); ?></td>
                            <td><?php echo ($info["value"]); ?></td>
                    <?php else: ?>
                         <td><?php echo ($info["label"]); ?></td>
                         <td><?php echo ($info["value"]); ?></td><?php endif; ?>
                    <?php if($i == $count-1): if($remainder_colums != 0): $__FOR_START_1198928462__=0;$__FOR_END_1198928462__=$number;for($i=$__FOR_START_1198928462__;$i < $__FOR_END_1198928462__;$i+=1){ ?><td></td>
                                <td></td><?php } endif; ?>
                        </tr><?php endif; ?>
                    <?php $i++;?>
                    <?php endforeach;?>
            </tbody>
        </table>
       </div>

    <div class="jianBen">
      <h4>手续信息</h4>
      <table>
            <tbody>
            <?php $i= 0; $count = count($report['procedure']); $remainder_colums = $count % 3;?>
            <?php $number = (3 - $remainder_colums); ?>
            <?php foreach($report['procedure'] as $info):?>
            <?php $a = $i % 3;?>
            <?php if($a == 0): if($i != 0): ?></tr><tr>
                <?php else: ?>
                    <tr><?php endif; ?>
                <td><?php echo ($info["label"]); ?></td>
                <td><?php echo ($info["value"]); ?></td>
                <?php else: ?>
                <td><?php echo ($info["label"]); ?></td>
                <td><?php echo ($info["value"]); ?></td><?php endif; ?>
            <?php if($i == $count-1): if($remainder_colums != 0): $__FOR_START_1455453805__=0;$__FOR_END_1455453805__=$number;for($i=$__FOR_START_1455453805__;$i < $__FOR_END_1455453805__;$i+=1){ ?><td></td>
                        <td></td><?php } endif; ?>
                </tr><?php endif; ?>
            <?php $i++;?>
            <?php endforeach;?>
            </tbody>
        </table>
    </div>

    <div class="jianBen">
      <h4>配置信息</h4>
      <table>
           <tbody>
           <?php $i= 0; $count = count($report['configuration']); $remainder_colums = $count % 3; ?>
           <?php $number = (3 - $remainder_colums); ?>
           <?php foreach($report['configuration'] as $info):?>
           <?php $a = $i % 3;?>
           <?php if($a == 0): if($i != 0): ?></tr><tr>
               <?php else: ?>
                    <tr><?php endif; ?>
                   <td><?php echo ($info["label"]); ?></td>
                   <td><?php echo ($info["value"]); ?></td>
            <?php else: ?>
                   <td><?php echo ($info["label"]); ?></td>
                   <td><?php echo ($info["value"]); ?></td><?php endif; ?>
           <?php if($i == $count - 1): if($remainder_colums != 0): $__FOR_START_745608273__=0;$__FOR_END_745608273__=$number;for($i=$__FOR_START_745608273__;$i < $__FOR_END_745608273__;$i+=1){ ?><td></td>
                       <td></td><?php } endif; ?>
               </tr><?php endif; ?>
            <?php $i++;?>
            <?php endforeach;?>
            </tbody>
      </table>
    </div>

    <div class="jianBen">
      <h4>工况及附件说明</h4>
      <table>
           <tbody>
           <?php $i= 0; $count = count($report['perform']) -1; $remainder_colums = $count % 2;?>
           <?php $number = (2 - $remainder_colums); ?>
           <?php foreach($report['perform'] as $key => $info):?>
           <?php $a = $i % 2;?>
           <?php if($key !='other_info'):?>
               <?php if($a == 0): if($i != 0): ?></tr><tr>
                   <?php else: ?>
                       <tr><?php endif; ?>
                       <td><?php echo ($info["label"]); ?></td>
                       <td><?php echo ($info["value"]); ?></td>
                   <?php else: ?>
                       <td><?php echo ($info["label"]); ?></td>
                       <td><?php echo ($info["value"]); ?></td><?php endif; ?>
               <?php if($i == $count-1): if($remainder_colums != 0): $__FOR_START_1914425555__=0;$__FOR_END_1914425555__=$number;for($i=$__FOR_START_1914425555__;$i < $__FOR_END_1914425555__;$i+=1){ ?><td></td>
                           <td></td><?php } endif; ?>
                   </tr><?php endif; ?>
            <?php $i++;?>
            <?php endif; ?>
            <?php endforeach;?>
            <?php if(isset($report['perform']['other_info'])):?>
               <tr>
                   <td><?php echo ($report['perform']['other_info']['label']); ?></td>
                   <td colspan="3" align="left"><?php echo ($report['perform']['other_info']['value']); ?></td>
               </tr>
            <?php endif; ?>
            </tbody>
      </table>
    </div>

  <div class="paiZhao gallery wrapper">
      <h4>基本照片</h4>
      <ul class="clearfix">
          <?php if(is_array($report["base_pics"])): $k = 0; $__LIST__ = $report["base_pics"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$pic): $mod = ($k % 2 );++$k;?><li>
                  <img data-start="<?php echo ($k-1); ?>" data-src="<?php echo ($pic["pic_url"]); ?>" src="<?php echo ($pic["pic_url"]); ?>@286w_190h_4e"/>
                  <span></span>
                  <em><?php echo ($pic["pic_desc"]); ?></em>
              </li><?php endforeach; endif; else: echo "" ;endif; ?>
      </ul>
      <div class="sliderModal">
          <div class="main-content">
              <div id="curItem-info"></div>
              <div id="nav-prev" class="slider-nav"></div>
              <div id="slider" class="owl-carousel owl-theme">
                  <?php if(is_array($report["base_pics"])): $k = 0; $__LIST__ = $report["base_pics"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$pic): $mod = ($k % 2 );++$k;?><div class="item"><img data-src="<?php echo ($pic["pic_url"]); ?>" data-id="<?php echo ($k-1); ?>" class="slider-image lazyOwl"><p><?php echo ($k); ?>/<?php echo ($report["base_pics_count"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo ($pic["pic_desc"]); ?></p></div><?php endforeach; endif; else: echo "" ;endif; ?>
              </div>
              <div id="nav-next" class="slider-nav"></div>
          </div>
          <div id="carousel"  class="owl-carousel">
              <?php if(is_array($report["base_pics"])): $k = 0; $__LIST__ = $report["base_pics"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$pic): $mod = ($k % 2 );++$k;?><div class="item" data-id="<?php echo ($k-1); ?>">
                      <img data-src="<?php echo ($pic["pic_url"]); ?>" class="carousel-image lazyOwl"  data-id="<?php echo ($k-1); ?>">
                      <p><?php echo ($k); ?></p>
                  </div><?php endforeach; endif; else: echo "" ;endif; ?>

          </div>
      </div>
  </div>

    <script>
        var strBigJson = '<?php echo ($report["big_pic_json"]); ?>';
        var strSmallJson = '<?php echo ($report["small_pic_json"]); ?>';
        var bigJsonObj = eval('(' + strBigJson + ')');
        var smallJsonObj = eval('(' + strSmallJson + ')');
        var bigStrJson = JSON.stringify(bigJsonObj);
        var smallStrJson = JSON.stringify(smallJsonObj);
        var big_json_w = bigStrJson;
        var small_json_w = smallStrJson;
        $(function(){
            $(".jianBen table tr td:even").each(function(){
                $(this).css({"background":"#e6e6e6"});
            })
        })


    </script>
    <div class="cheXiu clearfix">
        <h4>外观与骨架复修历史</h4>
        <div class="xiuFu1">
            <table>
                <tbody>
                    <?php foreach($report['appear_history'] as $ah):?>
                    <tr class="clearfix">
                      <td><?php echo ($ah["label"]); ?></td>
                      <td class="xiuChong"><?php echo ($ah["value"]); ?></td>
                    </tr>
                    <?php endforeach;?>
                </tbody>
            </table>
        </div>
        <div class="xiuFu2">
            <div class="fuPic">
                <img src="<?php echo ($report["damage_pics"]["hidden"]["outside"]); ?>" width="312" height="404">
            </div>
        </div>
      <div class="xiuFu3">
          <table>
              <tbody>
                  <?php foreach($report['frame_history'] as $fh):?>
                  <tr>
                    <td><?php echo ($fh["label"]); ?></td>
                    <td><?php echo ($fh["value"]); ?></td>
                  </tr>
                  <?php endforeach;?>
              </tbody>
        </table>
      </div>
      <div class="xiuFu4">
        <div class="fuPic2">
            <img src="<?php echo ($report["damage_pics"]["hidden"]["frame"]); ?>" width="377" height="360"/>
        </div>
      </div>
    </div>
      <div class="category">
          <div class="keJian">
              <h4>显性损伤</h4>

              <!--===============按损伤位置(骨架，外观，内饰)=================-->

              <div data-cate="gujia" class="sunshan1 wrapper gujia">
                  <div class="sunPic">
                      <img src="<?php echo ($report["damage_pics"]["visible"]["frame"]); ?>" width="292" height="373">
                  </div>
                  <em class="toggle-btn" data-start="0">骨架显性损伤(<?php if($report[stat][visible][3] > 0): ?><i style="color:red;font-weight: bold"><?php echo ($report["stat"]["visible"]["3"]); ?></i><?php else: ?>0<?php endif; ?>处)</em>
                  <div class="sliderModal">
                      <div class="main-content">
                          <div id="curItem-info"></div>
                          <div id="nav-prev" class="slider-nav"></div>
                          <div id="slider" class="owl-carousel owl-theme">
                              <?php if(is_array($report["frame_pics_big"])): $k = 0; $__LIST__ = $report["frame_pics_big"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$frame_pics_big): $mod = ($k % 2 );++$k;?><div class="item"><img data-src="<?php echo ($frame_pics_big["url"]); ?>" data-id="<?php echo ($k-1); ?>" class="slider-image lazyOwl"> <p><?php echo ($k); ?>/<?php echo ($report["frame_pics_count"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo empty($frame_pics_big['cus_pos_name']) ? C('VISIBLE_DAMAGE_POSITION.'.$frame_pics_big['position']) : $frame_pics_big['cus_pos_name'];?> - <?php echo ($frame_pics_big["describe"]); ?></p></div><?php endforeach; endif; else: echo "" ;endif; ?>
                          </div>
                          <div id="nav-next" class="slider-nav"></div>
                      </div>
                      <div id="carousel"  class="owl-carousel">
                          <?php if(is_array($report["frame_pics_sma"])): $k = 0; $__LIST__ = $report["frame_pics_sma"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$frame_pics_sma): $mod = ($k % 2 );++$k;?><div class="item" data-id="<?php echo ($k-1); ?>">
                                  <img data-src="<?php echo ($frame_pics_sma["url"]); ?>" class="carousel-image lazyOwl" data-id="<?php echo ($k-1); ?>">
                                  <p><?php echo ($k); ?></p>
                              </div><?php endforeach; endif; else: echo "" ;endif; ?>

                      </div>
                  </div>
              </div>


              <div data-cate="waiguan" class="sunshan1 wrapper waiguan">
                  <div class="sunPic sunPic2">
                      <img src="<?php echo ($report["damage_pics"]["visible"]["outside"]); ?>" width="292" height="373"/>
                  </div>
                  <em  class="toggle-btn" data-start="0">外观显性损伤(<?php if($report[stat][visible][2] > 0): ?><i style="color:red;font-weight: bold"><?php echo ($report["stat"]["visible"]["2"]); ?></i><?php else: ?>0<?php endif; ?>处)</em>
                  <div class="sliderModal">
                      <div class="main-content">
                          <div id="curItem-info"></div>
                          <div id="nav-prev" class="slider-nav"></div>
                          <div id="slider" class="owl-carousel owl-theme">
                              <?php if(is_array($report["outside_pics_big"])): $k = 0; $__LIST__ = $report["outside_pics_big"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$outside_pics_big): $mod = ($k % 2 );++$k;?><div class="item"><img data-src="<?php echo ($outside_pics_big["url"]); ?>" data-id="<?php echo ($k-1); ?>" class="slider-image lazyOwl"><p><?php echo ($k); ?>/<?php echo ($report["outside_pics_count"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo empty($outside_pics_big['cus_pos_name']) ? C('VISIBLE_DAMAGE_POSITION.'.$outside_pics_big['position']) : $outside_pics_big['cus_pos_name'];?> - <?php echo ($outside_pics_big["describe"]); ?></p></div><?php endforeach; endif; else: echo "" ;endif; ?>
                          </div>
                          <div id="nav-next" class="slider-nav"></div>
                      </div>

                      <div id="carousel"  class="owl-carousel">
                          <?php if(is_array($report["outside_pics_sma"])): $k = 0; $__LIST__ = $report["outside_pics_sma"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$outside_pics_sma): $mod = ($k % 2 );++$k;?><div class="item" data-id="<?php echo ($k-1); ?>">
                                  <img data-src="<?php echo ($outside_pics_sma["url"]); ?>" class="carousel-image lazyOwl" data-id="<?php echo ($k-1); ?>">
                                  <p><?php echo ($k); ?></p>
                              </div><?php endforeach; endif; else: echo "" ;endif; ?>

                      </div>
                  </div>
              </div>


              <div data-cate="neishi" class="sunshan1 wrapper neishi">
                  <div class="sunPic cunPic1">
                      <img src="<?php echo ($report["damage_pics"]["visible"]["inside"]); ?>" width="292" height="373"/>
                  </div>
                  <em  class="toggle-btn" data-start="0">内饰显性损伤(<?php if($report[stat][visible][1] > 0): ?><i style="color:red;font-weight: bold"><?php echo ($report["stat"]["visible"]["1"]); ?></i><?php else: ?>0<?php endif; ?>处)</em>
                  <div class="sliderModal">
                      <div class="main-content">
                          <div id="curItem-info"></div>
                          <div id="nav-prev" class="slider-nav"></div>
                          <div id="slider" class="owl-carousel owl-theme">
                              <?php if(is_array($report["inside_pics_big"])): $k = 0; $__LIST__ = $report["inside_pics_big"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$inside_pics_big): $mod = ($k % 2 );++$k;?><div class="item"><img data-src="<?php echo ($inside_pics_big["url"]); ?>" data-id="<?php echo ($k-1); ?>" class="slider-image lazyOwl"><p><?php echo ($k); ?>/<?php echo ($report["inside_pics_count"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo empty($inside_pics_big['cus_pos_name']) ? C('VISIBLE_DAMAGE_POSITION.'.$inside_pics_big['position']) : $inside_pics_big['cus_pos_name'];?> - <?php echo ($inside_pics_big["describe"]); ?></p></div><?php endforeach; endif; else: echo "" ;endif; ?>
                          </div>
                          <div id="nav-next" class="slider-nav"></div>
                      </div>
                      <div id="carousel"  class="owl-carousel">
                          <?php if(is_array($report["inside_pics_sma"])): $k = 0; $__LIST__ = $report["inside_pics_sma"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$inside_pics_sma): $mod = ($k % 2 );++$k;?><div class="item" data-id="<?php echo ($k-1); ?>">
                                  <img data-src="<?php echo ($inside_pics_sma["url"]); ?>" class="carousel-image lazyOwl" data-id="<?php echo ($k-1); ?>">
                                  <p><?php echo ($k); ?></p>
                              </div><?php endforeach; endif; else: echo "" ;endif; ?>
                      </div>
                  </div>
              </div>
              <div class="clear"></div>
          </div>


          <!--===============按损伤程度（轻微，一般，严重）=================-->
          <div class="sunTu clearfix">
              <div data-cate="qingwei" class="sunList wrapper qingwei">
                  <ul class="clearfix">
                      <?php if(is_array($report["light_pics"])): $k = 0; $__LIST__ = $report["light_pics"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$light): $mod = ($k % 2 );++$k;?><li><img data-start="<?php echo ($k-1); ?>" data-src="<?php echo ($light["url"]); ?>" src="<?php echo ($light["url"]); ?>" alt=""></li><?php endforeach; endif; else: echo "" ;endif; ?>
                      <?php $__FOR_START_1127162048__=0;$__FOR_END_1127162048__=$report["light_pics_count_4"];for($i=$__FOR_START_1127162048__;$i < $__FOR_END_1127162048__;$i+=1){ ?><li></li><?php } ?>
                  </ul>
                  <span class="toggle-btn" data-start="0">轻微损伤（<?php if($report[stat][degree][2] > 0): ?><i style="color:red"><?php echo ($report["stat"]["degree"]["2"]); ?></i><?php else: ?>0<?php endif; ?>处）</span>
                  <div class="sliderModal">
                      <div class="main-content">
                          <div id="curItem-info"></div>
                          <div id="nav-prev" class="slider-nav"></div>
                          <div id="slider" class="owl-carousel owl-theme">
                              <?php if(is_array($report["light_pics_big"])): $k = 0; $__LIST__ = $report["light_pics_big"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$light_pics_big): $mod = ($k % 2 );++$k;?><div class="item"><img data-src="<?php echo ($light_pics_big["url"]); ?>" data-id="<?php echo ($k-1); ?>" class="slider-image lazyOwl"><p><?php echo ($k); ?>/<?php echo ($report["light_pics_count"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo empty($light_pics_big['cus_pos_name']) ? C('VISIBLE_DAMAGE_POSITION.'.$light_pics_big['position']) : $light_pics_big['cus_pos_name'];?> - <?php echo ($light_pics_big["describe"]); ?></p></div><?php endforeach; endif; else: echo "" ;endif; ?>
                          </div>
                          <div id="nav-next" class="slider-nav"></div>
                      </div>
                      <div id="carousel"  class="owl-carousel">
                          <?php if(is_array($report["light_pics_sma"])): $k = 0; $__LIST__ = $report["light_pics_sma"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$light_pics_sma): $mod = ($k % 2 );++$k;?><div class="item" data-id="<?php echo ($k-1); ?>">
                                  <img data-src="<?php echo ($light_pics_sma["url"]); ?>" class="carousel-image lazyOwl" data-id="<?php echo ($k-1); ?>">
                                  <p><?php echo ($k); ?></p>
                              </div><?php endforeach; endif; else: echo "" ;endif; ?>
                      </div>
                  </div>
              </div>

              <div data-cate="yiban" class="sunList wrapper yiban">
                  <ul class="clearfix">
                      <?php if(is_array($report["normal_pics"])): $k = 0; $__LIST__ = $report["normal_pics"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$normal): $mod = ($k % 2 );++$k;?><li><img data-start="<?php echo ($k-1); ?>" data-src="<?php echo ($normal["url"]); ?>" src="<?php echo ($normal["url"]); ?>" alt=""></li><?php endforeach; endif; else: echo "" ;endif; ?>
                      <?php $__FOR_START_1048852057__=0;$__FOR_END_1048852057__=$report["normal_pics_count_4"];for($i=$__FOR_START_1048852057__;$i < $__FOR_END_1048852057__;$i+=1){ ?><li></li><?php } ?>
                  </ul>
                  <span class="toggle-btn" data-start="0">一般损伤（<?php if($report[stat][degree][3] > 0): ?><i style="color:red"><?php echo ($report["stat"]["degree"]["3"]); ?></i><?php else: ?>0<?php endif; ?>处）</span>
                  <div class="sliderModal">
                      <div class="main-content">
                          <div id="curItem-info"></div>
                          <div id="nav-prev" class="slider-nav"></div>
                          <div id="slider" class="owl-carousel owl-theme">
                              <?php if(is_array($report["normal_pics_big"])): $k = 0; $__LIST__ = $report["normal_pics_big"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$normal_pics_big): $mod = ($k % 2 );++$k;?><div class="item"><img data-src="<?php echo ($normal_pics_big["url"]); ?>" data-id="<?php echo ($k-1); ?>" class="slider-image lazyOwl"><p><?php echo ($k); ?>/<?php echo ($report["normal_pics_count"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo empty($normal_pics_big['cus_pos_name']) ? C('VISIBLE_DAMAGE_POSITION.'.$normal_pics_big['position']) : $normal_pics_big['cus_pos_name'];?> - <?php echo ($normal_pics_big["describe"]); ?></p></div><?php endforeach; endif; else: echo "" ;endif; ?>
                          </div>
                          <div id="nav-next" class="slider-nav"></div>
                      </div>
                      <div id="carousel"  class="owl-carousel">

                          <?php if(is_array($report["normal_pics_sma"])): $k = 0; $__LIST__ = $report["normal_pics_sma"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$normal_pics_sma): $mod = ($k % 2 );++$k;?><div class="item" data-id="<?php echo ($k-1); ?>">
                                  <img data-src="<?php echo ($normal_pics_sma["url"]); ?>" class="carousel-image lazyOwl"  data-id="<?php echo ($k-1); ?>">
                                  <p><?php echo ($k); ?></p>
                              </div><?php endforeach; endif; else: echo "" ;endif; ?>

                      </div>
                  </div>
              </div>

              <div data-cate="zhongyao" class="sunList sunList1 wrapper zhongyao">
                  <ul class="clearfix">

                      <?php if(is_array($report["important_pics"])): $k = 0; $__LIST__ = $report["important_pics"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$important): $mod = ($k % 2 );++$k;?><li><img data-start="<?php echo ($k-1); ?>" data-src="<?php echo ($important["url"]); ?>" src="<?php echo ($important["url"]); ?>" alt=""></li><?php endforeach; endif; else: echo "" ;endif; ?>
                      <?php $__FOR_START_2122713852__=0;$__FOR_END_2122713852__=$report["important_pics_count_4"];for($i=$__FOR_START_2122713852__;$i < $__FOR_END_2122713852__;$i+=1){ ?><li></li><?php } ?>
                  </ul>
                  <span class="toggle-btn" data-start="0">重要损伤（<?php if($report[stat][degree][4] > 0): ?><i style="color:red"><?php echo ($report["stat"]["degree"]["4"]); ?></i><?php else: ?>0<?php endif; ?>处）</span>
                  <div class="sliderModal">
                      <div class="main-content">
                          <div id="curItem-info"></div>
                          <div id="nav-prev" class="slider-nav"></div>
                          <div id="slider" class="owl-carousel owl-theme">
                              <?php if(is_array($report["important_pics_big"])): $k = 0; $__LIST__ = $report["important_pics_big"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$important_pics_big): $mod = ($k % 2 );++$k;?><div class="item"><img data-src="<?php echo ($important_pics_big["url"]); ?>" data-id="<?php echo ($k); ?>" class="slider-image lazyOwl"><p><?php echo ($k); ?>/<?php echo ($report["important_pics_count"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo empty($important_pics_big['cus_pos_name']) ? C('VISIBLE_DAMAGE_POSITION.'.$important_pics_big['position']) : $important_pics_big['cus_pos_name'];?> - <?php echo ($important_pics_big["describe"]); ?></p></div><?php endforeach; endif; else: echo "" ;endif; ?>
                          </div>
                          <div id="nav-next" class="slider-nav"></div>
                      </div>
                      <div id="carousel"  class="owl-carousel">
                          <?php if(is_array($report["important_pics_sma"])): $k = 0; $__LIST__ = $report["important_pics_sma"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$important_pics_sma): $mod = ($k % 2 );++$k;?><div class="item" data-id="<?php echo ($k-1); ?>">
                                  <img data-src="<?php echo ($important_pics_sma["url"]); ?>" class="carousel-image lazyOwl" data-id="<?php echo ($k-1); ?>">
                                  <p><?php echo ($k); ?></p>
                              </div><?php endforeach; endif; else: echo "" ;endif; ?>

                      </div>
                  </div>
              </div>
          </div>
      </div>
    </div>
</div>
<div class="pageBeijing"></div>
<div class="bg"></div>
<i class="close"></i>
<div class="category-btn">
    <span>按损伤程度分类:</span>
    <button data-cate="qingwei" class="qingwei">轻微（<?php if($report['light_pics_count'] > 0): ?><i style="color:red"><?php echo ($report["light_pics_count"]); ?></i><?php else: ?>0<?php endif; ?>）</button>
    <button data-cate="yiban" class="yiban">一般（<?php if($report['normal_pics_count'] > 0): ?><i style="color:red"><?php echo ($report["normal_pics_count"]); ?></i><?php else: ?>0<?php endif; ?>）</button>
    <button data-cate="zhongyao" class="zhongyao">重要（<?php if($report['important_pics_count'] > 0): ?><i style="color:red"><?php echo ($report["important_pics_count"]); ?></i><?php else: ?>0<?php endif; ?>）</button>
    <span>按损伤区域分类:</span>
    <button data-cate="gujia" class="gujia">骨架（<?php if($report['frame_pics_count'] > 0): ?><i style="color:red"><?php echo ($report["frame_pics_count"]); ?></i><?php else: ?>0<?php endif; ?>）</button>
    <button data-cate="waiguan" class="waiguan">外观（<?php if($report['outside_pics_count'] > 0): ?><i style="color:red"><?php echo ($report["outside_pics_count"]); ?></i><?php else: ?>0<?php endif; ?>）</button>
    <button data-cate="neishi" class="neishi">内饰（<?php if($report['inside_pics_count'] > 0): ?><i style="color:red"><?php echo ($report["inside_pics_count"]); ?></i><?php else: ?>0<?php endif; ?>）</button>
</div>
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/plugin/carousel/owl.carousel.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/picCarousel.js" type="text/javascript"></script>
<script>
    $(function(){

        $(".jianBen table tr td:even").each(function(){
            $(this).css({"background":"#e6e6e6"});
        })
        $(".xiuFu1 table tr td:even").each(function(){
            $(this).css({"background":"#e4e4e4"});
        })

        $(".xiuFu3 table tr td:even").each(function(){
            $(this).css({"background":"#e4e4e4"});
        })
    });
</script>